package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ CclassModel = (*customCclassModel)(nil)

type (
	// CclassModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCclassModel.
	CclassModel interface {
		cclassModel
	}

	customCclassModel struct {
		*defaultCclassModel
	}
)

// NewCclassModel returns a model for the database table.
func NewCclassModel(conn sqlx.SqlConn) CclassModel {
	return &customCclassModel{
		defaultCclassModel: newCclassModel(conn),
	}
}
